package com.study.demo.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.study.demo.dao.UserMapper;
import com.study.demo.model.User;
import com.study.demo.service.UserService;

@Service
public class UserServiceImpl implements UserService {

	@Resource
	private UserMapper userMapper;
	
	public User getUserInfo(Integer id) {
		return userMapper.getUserInfo(id);
	}

	
}
